projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
776b7d5
)
Add code to set HAVE_INET_SOCKETS.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 30 Jul 1993 07:55:42 +0000
(07:55 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 30 Jul 1993 07:55:42 +0000
(07:55 +0000)
configure1.in
patch
|
blob
|
history
diff --git
a/configure1.in
b/configure1.in
index 368317ed498ab234a9725451bb2d71ce72a293da..a0ebe41aa9a3590ba80c4c529768c3b3699ee92a 100755
(executable)
--- a/
configure1.in
+++ b/
configure1.in
@@
-961,6
+961,17
@@
AC_RETSIGTYPE
dnl checks for functions
AC_ALLOCA
AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir)
+ok_so_far=true
+AC_FUNC_CHECK(socket,, ok_so_far=)
+if test -n "$ok_so_far"; then
+ AC_HEADER_CHECK(netinet/in.h,, ok_so_far=)
+fi
+if test -n "$ok_so_far"; then
+ AC_HEADER_CHECK(arpa/inet.h,, ok_so_far=)
+fi
+if test -n "$ok_so_far"; then
+ AC_DEFINE(HAVE_INET_SOCKETS)
+fi
dnl checks for structure members
AC_STRUCT_TM